<?php
/**
 * File: artistinsidesecrecy.php.
 * Author: CaoQiCheng
 * Editor: PhpStorm
 * Date: 16/6/22 下午15:45
 * Brief:
 */
namespace haibao\cms\model\data\artist;

use haibao\cms\business\control\PublicController;
class ArtistInsideSecrecy extends \haibao\cms\model\data\Base{
	
	const ARTIST_TYPE_CELEBRITY = 1;
	const ARTIST_TYPE_DESIGNER = 2;
	
	const ARTIST_LEVEL_UPPER = 1;
	const ARTIST_LEVEL_MIDDLE = 2;
	const ARTIST_LEVEL_LOWER = 3;
	
	
	/**
	 * 保密明星或者设计师id
	 */
	public $ArtistId;
	/**
	 * 信息类型 1 明星 2设计师
	 */
	public $ArtistType;
	/**
	 * 艺人名
	 */
	public $ArtistName;
	/**
	 * 艺人公司
	 */
	public $ArtistCompany;
	/**
	 * 艺人等级 1一线、2二线、3三线及以下
	 */
	public $ArtistGrade;
	/**
	 * 合作度描述
	 */
	public $ArtistDesc;
	
	/**
	 * 创建时间
	 */
	public $CreateTime;
	
	/**
	 * 创建人
	 */
	public $CreateBy;
	
	/**
	 * 修改时间
	 */
	public $UpdateTime;
	
	/**
	 * 修改人
	 */
	public $UpdateBy;
	
	/**
	 * 艺人经纪人
	 */
	public $ArtistContacts;
	/**
	 * 艺人合作等级
	 */
	public $ArtistCooperationSchedule;
	/**
	 * 合作完成进度数值
	 */
	public $Weekly;

	public function __construct(){
		parent::__construct();
		$this->intField('ArtistId', 'ArtistId',true);
		$this->intField('ArtistType', 'ArtistType',true);
		$this->stringField('ArtistName', 'ArtistName');
		$this->stringField('ArtistCompany', 'ArtistCompany');
		$this->intField('ArtistGrade', 'ArtistGrade',true);
		$this->stringField('ArtistDesc', 'ArtistDesc');
		$this->dateField('CreateTime', 'CreateTime',true);
		$this->intField('CreateBy', 'CreateBy',true);
		$this->dateField('UpdateTime', 'UpdateTime',true);
		$this->intField('UpdateBy', 'UpdateBy',true);

		$this->setTableName('ArtistInsideSecrecy');
	}
}